/**      
 * @file		dynamicBikes.cpp
 * @description		Demonstrates the use of dynamic arrays using objects.
 * @course		CSCI 123 Section 00000
 * @assignment 
 * @date		mm/dd/yyyy
 * @author		Brad Rippe (00000000) brippe@fullcoll.edu
 * @version		1.0
 */
#include <iostream>
#include "Bike.h"
using namespace std;

typedef Bike* BikePtr;

/**
 * @return zero if the application executes successfully
 */
int main() {

	int numOfBikes = 0;
	cout << "How many bikes would you like to store\n";
	cin  >> numOfBikes;

	BikePtr bikes = new Bike[numOfBikes];

	cout << "You have created a dynamic array of Bikes with ";
	cout << numOfBikes << " of bikes.\n";

	delete [] bikes;	// let's clean up our mess
				// what happens if we don't 
				// delete the array?
	return 0;
}
